using System;
using RadicalResearch.MiniState.Attributes;
using RadicalResearch.MiniState.Cookies;

namespace $rootnamespace$
{

    /// <summary>
    /// TODO: Rename the cookie object.
    /// </summary>
    public class Cookie1 : CookieSettingStoreBase
    {
        private const string MyCookieKey = "cookie1";

        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        public Cookie1()
            : base(MyCookieKey, false, true, new TimeSpan(1, 0, 0), 1)
        {
			// Code to initialize the cookie. Usually blank.
        }

        /* TODO:
         * Add settings to your cookie by creating properties.

         * NOTE:
         * SettingKey specifies the name used to store the value in the cookie. 
         * Use SettingDescriptor attributes to control how the property is stored in the cookie.
         
         * Example:

        private const string MyValueKey = "a";

        /// <summary>
        /// Gets or sets MyValue setting.
        /// </summary>
        [SettingDescriptor(MyValueKey, true)]
        public string MyValue
        {
            get { return (string)base[MyValueKey]; }
            set { base[MyValueKey] = value; }
        }
         
        */

    }
}